package com.by.query;

import com.by.common.bean.PageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author Ye QS
 * @version 0.1
 * @className SupplierProductEnquiryQuery
 * @description
 * @date 2024/9/26 14:21
 * @since jdk11
 */
@Data
@ApiModel("供应商询价搜索条件")
public class SupplierProductEnquiryQuery extends PageQuery {
    String code;
    int status;
    @ApiModelProperty(value = "供应商id", required = true)
    @NotNull(message = "供应商id不能为空")
    @Min(value = 1, message = "请输入正确的id值")
    int sid;
}
